class CreateMessages < ActiveRecord::Migration
  def self.up
    create_table :messages do |t|
      t.column  :user_id, :integer
      t.column  :message, :text
      t.column  :mobile_mum,  :string
      t.column  :ip,  :string
      t.column  :position,  :text
      t.timestamps
    end
  end

  def self.down
    drop_table :messages
  end
end
